package com.moneywelcome.investfacade.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("评论记录分页查询")
public class CommentPageVo {
    @ApiModelProperty(value = "每页容量/默认3",required = true)
    @NotNull(message = "不能为空")
    private Long size = 3L;
    @NotNull(message = "不能为空")
    @ApiModelProperty(value = "当前页数/默认1",required = true)
    private Long current = 1L;
    @ApiModelProperty("开始时间")
    private String startTime;
    @ApiModelProperty("结束时间")
    private String endTime;
    @NotNull(message = "黄金不能为空")
    @ApiModelProperty("黄金id")
    private Integer goldId;
    @ApiModelProperty("关键词")
    private String keyword;
}
